[HVM] Fix MSR access code.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 28 Nov 2006 11:43:39 +0000 (11:43 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 28 Nov 2006 11:43:39 +0000 (11:43 +0000)
commitc6a25536693aeec176e7b55a533f5e1465f73e88
tree0fdce2d71983b447f2d1c84ec53d1163d84ea87b
parent8e37e2b661d009f668f7803febeffdf973e7f23a
[HVM] Fix MSR access code.

- rdmsr/wrmsr always use ECX (not RCX) as register index.
- SVM still had the function names explicitly in the HVM_DBG_LOG() output
- the guest should (at the very minimum) see GP fault for MSRs
  accesses to which even fault in Xen itself

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vmx.c